package com.zbkj.common.response;

import com.zbkj.common.model.admin.SystemAdmin;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户端登录响应对象
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ClientLoginResponse对象", description="客户端登录响应对象")
public class ClientLoginResponse implements Serializable {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "用户id")
    private Integer id;

    @ApiModelProperty(value = "访问令牌")
    private String token;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真实用户名")
    private String realName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "用户类型，2-主账号，4-子账号")
    private Integer type;

    @ApiModelProperty(value = "用户套餐等级，1-4")
    private Integer packageLevel;

    @ApiModelProperty(value = "套餐到期时间")
    private Date expiredTime;

} 